package cn.flying.cloud.base.oss.enums;

import cn.flying.cloud.base.common.enums.BaseEnumInfo;

/**
 * oss存储类型枚举
 *
 * @author: admin
 * @date: 2025年02月28日 10:16
 * @version: 1.0
 */
public enum OssTypeEnum implements BaseEnumInfo {
    MOS("minio", "minio存储"),
    S3OS("awsS3", "亚马逊S3协议oss存储"),
    AOS("aliyun", "阿里云oss存储"),
    BOS("baidu", "阿里云oss存储"),
    QOS("qiniu", "七牛云oss存储"),
    ;

    private final String code;
    private final String desc;

    OssTypeEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    /**
     * 获取枚举码值
     *
     * @return
     */
    @Override
    public String getCode() {
        return this.code;
    }

    /**
     * 获取枚举描述
     *
     * @return
     */
    @Override
    public String getDesc() {
        return this.desc;
    }
}
